﻿/* 2014/1/5 */
using System.Windows.Forms;

namespace PictureManager
{
    /// <summary>
    /// An item which can be added to ComboBox. It contains a text and Keys enum.
    /// </summary>
    class KeyItem : ComboBoxItem
    {
        private Keys _key;

        public KeyItem(Keys key, string text)
            : base(text)
        {
            _key = key;
        }

        public Keys Key { get { return _key; } }
    }
}
